﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace JinfuyuanProject.Entity
{
    /// <summary>
    /// 
    ///</summary>
    public class Salary
    {

        [Key]
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        public int Id  { get; set;  } 
     
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        public int? EmpId  { get; set;  } 
     
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        public DateTime? CreateTime  { get; set;  } 
     
        /// <summary>
        /// 备  注:发放的基础工资（）
        /// 默认值:
        ///</summary>
        public decimal? BaseSalary  { get; set;  } 
     
        /// <summary>
        /// 备  注:比例
        /// 默认值:
        ///</summary>
        public decimal? Proportion  { get; set;  } 
     
        /// <summary>
        /// 备  注:发放时间
        /// 默认值:
        ///</summary>
        public DateTime? Times  { get; set;  } 
     
        /// <summary>
        /// 备  注:
        /// 默认值:
        ///</summary>
        public int? IsDelete  { get; set;  }
        /// <summary>
        /// 上班天数
        /// </summary>

        public int? WorkDays { get; set; }
        /// <summary>
        /// 考勤天数
        /// </summary>
        public int? Attendance { get; set; }
        /// <summary>
        /// 绩效
        /// </summary>
        public decimal? ExtraSaraly { get; set; }
        /// <summary>
        /// 基础工资(底薪/考勤)*上班天数
        /// </summary>
        public decimal? BaseMoney { get; set; }
        /// <summary>
        /// 总工资
        /// </summary>
        public decimal? TotalSaraly { get; set; }

    }
    
}